package forum.client;

import com.google.gwt.user.client.ui.TextArea;

public class TreeUserObject {

	private String postId;
	private TextArea postContent;
	public TreeUserObject(){
		postId = "-1";
		postContent = null;
	}
	
	public TreeUserObject(String id, TextArea content){
		postId = id;
		postContent = content; 
	}

	/**
	 * @return the postId
	 */
	public String getPostId() {
		return postId;
	}

	/**
	 * @param postId the postId to set
	 */
	public void setPostId(String postId) {
		this.postId = postId;
	}

	/**
	 * @return the postContent
	 */
	public TextArea getPostContent() {
		return postContent;
	}

	/**
	 * @param postContent the postContent to set
	 */
	public void setPostContent(TextArea postContent) {
		this.postContent = postContent;
	}
}
